<?php
header("Location: /server/box.php");

$mysql = new SaeMysql();

$msg = $_REQUEST["msg"];

$sql = "INSERT  INTO `message` ( `content` ) VALUES ( '"  . $mysql->escape( $msg ) . "' ) ";
$mysql->runSql( $sql );
if( $mysql->errno() != 0 )
{
  die( "Error:" . $mysql->errmsg() );
}

$mysql->closeDb();
?>
